Make left/right shift return 0 for 128+ bit shift

This is consistent with other places in the code that implement the same logic.