Learning-based Uncertainty-aware Navigation in 3D Off-Road Terrains