The Iran war and the inflation it's created could threaten the stock market's record-setting run.