Implement hs_wordToWord64 and fix hs_eqWord64.