The Age Dependence of Mid-infrared Emission around Young Star Clusters