The self-driving car company is partnering with Waze, the crowdsourced GPS navigation app, on a pilot program to map potholes in five cities.