For more than three decades, Gulf Island Fabrication Inc. has built foundations to anchor offshore-oil platforms to the ocean floor. Now, as lower oil prices take a bite out of that business, it is trying to turn that expertise into an edge in a new business: offshore wind. The Houston-based company—which recently built the foundations for the first U.S. offshore wind farm, near Rhode Island—is one of many oil-and-gas industry…