Fix big endian version of MD5 and RipeMD160.

Obviously the code has never been run on a big endian architecuture.
With these changes the unit tests passes on Linux/PPC64.