Restore type compatibility of rawDigest

rawDigest again returns Int32Array, with a backing ArrayBuffer
being sliced to the hash length and containing bytes ordered
with the proper endianness.