If successful in raising money in the capital markets, Goldman could be the first major bank to return funds.