Scramble nibbles of a 32-bit integer