KVM: kvm_io_device: extend in_range() to manage len and write attribute