Saudi Aramco has halted operations at its Ras Tanura refinery on the Persian Gulf after an attack nearby.