[libvirt] [PATCH v2 2/2] remote: Fix possible use-after-free when sending event message