McGrory told the media company’s staff in a memo on Wednesday that he plans to step down by the end of this year.