Next-to-next-to-leading-order QCD corrections to $\chi_{c0,2}\rightarrow \gamma\gamma$