Time rescaling of a primal-dual dynamical system with asymptotically vanishing damping