Goldman Sachs’ second-quarter earnings, as jawdropping as the numbers were, did come with a few warning signs of trouble ahead. Most notably, the $1.2 billion in losses and write-downs the investment bank absorbed on commercial real estate loans, securities and related investments may be a harbinger of bad news to come from other financial firms.