Thermodynamic Modeling of Mutual Solubilities in Gas-Laden Brines Systems Containing CO2, CH4, N2, O2, H2, H2O, NaCl, CaCl2, and KCl: Application to Degassing in Geothermal Processes