An oil tanker suffered an explosion off the coast of Iraq which damaged a tank that is losing water, signaling wider risks to shipping in the Persian Gulf beyond the Strait of Hormuz.