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