[Linux-stable-mirror] [PATCH 4.14 100/118] x86/alternatives: Fix optimize_nops() checking