[Libvir] libvirt.c: avoid a double-free upon do_open failure