Optical rotation detection method based on acousto-optic modulation in an atomic spin co-magnetometer