The cost of labor rose less than expected, but low productivity helped keep pressure on inflation in the third quarter.