[PATCH 4.14 92/95] x86/bugs: Rework spec_ctrl base and mask logic