Refineries on the U.S. Gulf Coast shut down or curtailed operations as Hurricane Harvey barreled toward the region.