sys/stdatomic.h: be nicer to c++
PR: 262683
(cherry picked from commit c1a24b9dbeade11bfeedc91996672582f6ea32f2)