[libpng16] Removed a redundant test in png_set_IHDR().