[PATCH 4.16 106/110] x86/bugs: Rework spec_ctrl base and mask logic