Berkshire Hathaway bought back $7.6 billion of its own stock in the third quarter, even as it was a net seller of stocks for its portfolio.