[libvirt] [PATCH libvirt 1/3] events: add NULL check in virObjectEventStateQueue