Changed ChaCha implementation.
Replace ROTATE macros with an inline.

The compiler can figure out for which architecture and optimize
it accordingly.