Use Android's implementation of atomic operations

Instead of generic global lock defined by d-bus on non-x86 platforms,
Android could directly utilize its own atomic operation implementation.

Original author: Jim Huang <jserv@0xlab.org>

Change-Id: I2dfecf2f09debe57afc7d524581dd799c0f0f801
2 files changed