Revert "Support libpng 1.6.y"

This reverts commit 2d1ab3e1f34c8185eab50d1f5abee9334de9bc80.