codeGen/X86: Fix signedness of jump table indexing
Previously while constructing the jump table index we would zero-extend the discriminant before subtracting the start of the jump-table. This goes subtly wrong in the case of a sub-word, signed discriminant. Fix this.
Fixes #21186 (closed).