[PATCH openEuler-5.10-LTS 109/109] x86/pat: Fix x86_has_pat_wp()