Several Gulf states are working to recover their images as global havens of stability in the wake of the Iran war.