[PATCH 22/32] qemu: block: Add universal helper for merging dirty bitmaps for all scenarios