Functional Characterization of a Magnesium Transporter of Root Endophytic Fungus Piriformospora indica