[libvirt] [PATCH/GSoC] Use virGetLastErrorMessage() rather than open code it