Fix crashes on Symbian and Blackberry (and likely others) when memory to be hashed is unaligned. Thanks @unknownbrackets