Fermi surface changes in dilute alloys of magnesium in cadmium