Local well-posedness for the periodic Korteweg-de Vries equation in analytic Gevrey classes