Motoring group RAC has said prices at the pump could keep rising if there is no resolution to the Iran war.