Fix big endian version of ripemd.

The upper bound of the array index is obviously wrong.
Merge pull request #1234 from redstar/beripe

Fix big endian version of ripemd.