[libpng16] Avoid out-of-bounds memory access in png_user_version_check().