[libvirt] [PATCH] conf: Fix invalid pointer check in virDomainObjGetDefs