Relaxational dynamics of the infinite-ranged spin glass with n-component spins