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