The North Carolina wide receiver Anthony Ratliff-Williams returned the opening kickoff for a touchdown, threw for another on a trick play and hauled in the eventual go-ahead score midway through the fourth quarter as the Tar Heels ended a six-game losing streak with a 34-31 victory over Pittsburgh on Thursday.…