Sample Preparation Biases in Automated Quantitative Mineralogical Analysis of Mine Wastes