Spectral metric spaces for Gibbs measures