sha512: fix building on ARM