compat/atomics/gcc: use __typeof__ instead of typeof