[libvirt] [PATCH] tests: fix segault in objecteventtest