[libvirt] [PATCH 2/3] qemu: Extract internals of processBlockJobEvent into a helper