tools/kvm_stat: fix error on interactive command 'g'