[libvirt] [libvirt-glib 2/9] Register event using GOnce to avoid multiple initializations