On Peano's theorem in locally convex spaces