Optical switching of cross intensity correlation in cavity electromagnetically induced transparency