Food prices climbed closer to a record high, giving consumers and governments around the world an even bigger inflation headache.