remove unneeded casts in bitshifts