Astros pitcher Jarred Cosart has apologized after he used a gay/homophobic slur to describe Justin Bieber