[PATCH openEuler-5.10-LTS 020/137] x86/alternatives: Optimize optimize_nops()