Avoid undefined operation in bit rotation operations for zero rotate.

Otherwise we expand to (X << 0) | (X >> 32), and (X >> 32) is an
undefined expression, thus allowing the compiler to do some
arbitrarily nasty thing to us. Caught by Clang's sanitizer and
reported by Jeffery Walton.
Avoid reverse iterators under Android NDK as well.
Need coffee