Sunderland have confirmed that a two-year drugs ban has been handed out to their former player Lewis Gibbons.