Actor Jonah Hill apologizes for using homophobic slur