Twitter's head of brand safety and ad quality to leave