[rt #85746] add support for libpng 1.6

1.6 changed the default to ignore "benign" read errors, I now unignore
them explicitly with an option to ignore them.