Markets on Wall Street flipped from losses to small gains before the opening bell Friday after the government reported that inflation at the consumer level cooled. Futures for the S&P 500, Dow Jones Industrial Average and Nasdaq were up less than 0.1% ahead of the market open. The government repo…