fix sha1 for inputs longer than 55 octets

unfortunately, this does cost 10 bytes in the minified version, but it works correctly for longer strings again...