atomic: fix compile with gcc.