[PATCH 05/13] qemu: block: Implement helpers for dealing with bitmaps during block commit