kvm: Rework dirty bitmap synchronization