[libvirt PATCHv2 15/16] qemuAgentGetInterfaceOneAddress: check for errors early