Semantic and Feature Guided Uncertainty Quantification of Visual Localization for Autonomous Vehicles