Investigation of multiple scattering contributions to the depolarization of light scattered by xenon and carbon dioxide in the critical region