The actor, who plays Ian Gallagher on the long-running Showtime series, announces that the next episode will be his last.