Autoguided Online Data Curation for Diffusion Model Training