[libvirt] [PATCH 3/2] event: use newer array management macros