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