The influence of composition fluctuations on the spin transition spectra of shallow donors in semimagnetic semiconductors