ipack: print a hex number after a 0x prefix