If the shift amount is greater than 31, make it wrap instead of clamping.

Removes some unnecessary gates.