Tune-out Wavelength Measurement and Gyroscope Using Dispersion Compensation in an Atom Interferometer