The thermodynamics of carbon in nickel-based multicomponent solid solutions