Fix groestl hashing, and add support for myriadcoin groestl