A cross-correlation study of the Fermi-LAT gamma-ray diffuse extragalactic signal