SwitchOptimization: generating `lookupswitch' opcode for 'when' in case of integral types