Weakly Supervised Metric Learning For Estimating Autonomous Vehicle Terrain Traversability Cost