[libvirt] [PATCH] virEventPollDispatchHandles: Honour array boundaries