Impact of Chemical Heterogeneity on the Accuracy of Pore Size Distributions in Disordered Solids