better endianess test in sha1.c (should fix WOLFRAME-54)