An Iranian oil tanker seized on suspicion of illegally shipping oil to Syria will not be detained by Gibraltar despite a US warrant to seize it.