The Oracle of Omaha was a persistent net seller of stocks for more than three years leading up to his retirement.