util: Fix SHA1 implementation on big endian