[libpng15] Removed a redundant test from png_set_IHDR().