Reconciling the contour-improved and fixed-order approaches for τ hadronic spectral moments. Part I. Renormalon-free gluon condensate scheme