Neutron scattering measurement of crystalline-electric fields in magnesium rare-earth selenide spinels