The Mass Function of GX 339–4 from Spectroscopic Observations of Its Donor Star