[libpng17] Corrected the width limit calculation in png_check_IHDR().