Discontinuous behavior of perturbative Yang-Mills theories in the limit of dimensions D-->2