Replace CheckAtomic.cmake with version shipped by ECM 5.75.0.
CheckAtomic will be shipped within ECM 5.75.0, so the copy inside cmake directory can be deleted, if krita can switch to ECM 5.75.0. I know, that you have your own policy of determine the minimal supported Framework version. But I push this patch so you can merge it whenever it is time to do so.