The world's food situation might not be as bad as feared, a forecast from the EU's Joint Research Centre has suggested.