[libpng17] Simplified and future-proofed png_user_version_check().