fixup Bernstein hasher

Signed-off-by: Edward O'Callaghan <victoredwardocallaghan@gmail.com>