algorithms.c (FOO.hashbufN): Consistently raise `ValueError' if too big.