The time-dependent CP asymmetry in B0 → Kresγ → π+π−$$ {K}_s^0\gamma $$ decays