Fix strict aliasing issue with the internal SHA-1 implementation