Fix unaligned access in hash data.

The old code didn't quite do the unaligned access properly. It still
treated the pointer as a uint32_t* or a uint64_t*.

This fixes the problem and allows the chk and hash unit tests to
pass on arm.

Bug: 27408522

(cherry picked from commit a7578105e71701208cb169d0732f37dc6c004ac2)

Change-Id: Iffcec6278bb48f10dd29ad3d18749fab7f305489
1 file changed