Fixed correctness error in hash-impl.h

An off-by-one error would cause the Keccak-f permutation to be applied twice to the sponge prior to squeezing for messages of length byterate - 1.