Fourier transforms of measures invariant under the Gauss map