[PATCH openEuler-5.10 013/139] x86/alternative: Support ALTERNATIVE_TERNARY