warnings: fix warnings about shifted casts
Wrapping the expression is the equivalent of:
sign_extend(32_bit_value)
Casting the constant being shifted first allows the shift to use all 64 bits.
Wrapping the expression is the equivalent of:
sign_extend(32_bit_value)
Casting the constant being shifted first allows the shift to use all 64 bits.