[hmaptool] Port to python3

This is just a few trivial changes -- change the interpreter and fix a
few byte-vs-string issues.

Differential Revision: https://reviews.llvm.org/D107944

GitOrigin-RevId: 1bd4dc4f2854edf3035732416ec7e4adbddaf982
1 file changed