Summary: 1. use nuttx/atomic.h instead of stdatomic 2. remove CONFIG_HAVE_ATOMIC,because we now support atomic on all platforms Signed-off-by: chenrun1 <chenrun1@xiaomi.com>