Vincent Kompany criticised Jose Mourinho, saying a player's celebration never justifies racist abuse.