[libvirt RFC 03/24] qemu_block: extract qemuBlockCommit impl to separate function