Effect of CO2 on a Mobility Gradient of Polymer Chains near an Impenetrable Solid