Sverige har anslutit sig till de länder som vill bidra till att göra sjöfarten genom Hormuzsundet säker.