fix libpng warning
fix hd png file warning
Merge pull request #9665 from andyque/fixLibpngWarning

Fix libpng warning