Uncertainty-Aware Reinforcement Learning for Collision Avoidance