Data Curation for Image Captioning with Text-to-Image Generative Models