Fix errors in BLAKE code implementation.