Matt Damon stopped using homophobic slur after daughter told him off