[android] Update headers that were split in NDK 23
NDK 23 split stdatomic.h up and that causes problems when invoked from C++ files,
so use the new bits/stdatomic.h instead as a workaround, as seen in the test for
aosp-mirror/platform_bionic@76e2b15.
#if defined(__cplusplus)
#define _Bool bool
#endif
+#if defined(__ANDROID__) && __NDK_MAJOR__ >= 23
+#include <bits/stdatomic.h>
+#else
#include <stdatomic.h>
+#endif
#define memory_order_ordered memory_order_seq_cst
#define memory_order_dependency memory_order_acquire
