Phonon-induced exciton spin relaxation in semimagnetic quantum wells