Oxygen potential and defect structure of the solid solution, Mg–Gd–UO2