rewrite to same prototype as existing util/qemu_hexdump
Signed-off-by: Mike Day <ncmike@ncultra.org>