Gas Hydrate and Corrosion Inhibition Performance of the Newly Synthesized Polyurethanes: Potential Dual Function Inhibitors