interpret: make check_mplace public This helps avoid code duplication in https://github.com/rust-lang/miri/pull/2661.