[libvirt PATCH] conf: Avoid NULL-dereference in virDomainObjGetMessages