Autoencoder-Augmented Machine-Learning-Based Uncertainty Quantification for Electromagnetic Imaging