[material][pnm] Fix position of deprecated attribute See merge request !3071 (cherry picked from commit ff1dc267) 6697fb50 [material][pnm] Fix position of deprecated attribute