[PATCH 248/276] KVM: nVMX: Refactor IO bitmap checks into helper function