A search for CP violation in K± → π±π0γ decays