PNG: hopefully fix support for libpng-1.5+ version