[PATCH 4.9 84/87] x86/bugs: Rework spec_ctrl base and mask logic