Fix compiling on arm:

- CPUID register is not accessible from userspace
+ AtomicInt32 uses now gcc builtin atomic functions