Bright OB stars in the Galaxy. III. Constraints on the radial stratification of the clumping factor