codeGen/X86: Don't clobber switch variable in switch generation
Previously ce874595 assumed that it was safe to clobber the switch variable when generating code for a jump table since we were at the end of a block. However, this assumption is wrong; the register could be live in the jump target.
Fixes #21968 (closed).