The white Chicago police officer charged with first-degree murder in the fatal shooting of a black teenager was the subject of 18 civilian complaints over 14 years, including allegations that he used racial epithets and excessive force, police and court records show.