bitwise rotations in c