[cmake] Add atomic ops availability detection (#464)

1 file changed