Goldman Sachs laying off thousands as Wall Street braces for slowdown