Target's longtime chief legal and compliance officer, Don Liu, plans to retire by year's end, the retail giant said Thursday.