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