Oil prices will reverse their recent gains, with U.S. crude likely to drop as far as $40 a barrel, Goldman Sachs said.