Simulating the impact of dust cooling on the statistical properties of the intra-cluster medium