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