In the weeks before the Iran war, ​Americans’ inflation expectations were little changed, a New York Fed survey says.