Molecular ions in ultracold atomic gases: computed electronic interactions for MgH+(X1Σ+) with Rb