Fix hash overloads for integral types