[libvirt PATCHv2 04/16] qemu: agent: reduce scope of addrs_count