[libvirt] PATCH: Move domain event helpers out of internal.h/libvirt.c