[added to the 4.1 stable tree] KVM: Fix stack-out-of-bounds read in write_mmio