[PATCH openEuler-5.10-LTS v2 014/139] x86/alternative: Use ALTERNATIVE_TERNARY() in _static_cpu_has()