Chancellor Rachel Reeves said contingency planning was under way to deal with the economic fallout from the Middle East crisis.