spirv: consider bitsize when handling OpSwitch cases