KVM: Fix overlapping check for memory slots