[PATCH 4.14 22/34] x86/speculation: Fix SPEC_CTRL write on SMT state change