Add NO_ATOMIC_INLINES check, to be used by libcutils

In Clang, extern always_inline symbols are exported, causing clashes
when linking something that includes the function definitions in
several source files (e.g. libcutils).
We need an option to make sure they're included only once.

Change-Id: I50279557fb3a02c633ce6428c3db79aa448c8b38
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Avoid logging functions from signal handler.

(cherry picked from commit 9007677fcbcd7cf01725e155920a8abfcb323c56)

Change-Id: Ic0163f43308c6a281ab3757d90933e5127843fed

Conflicts:
	libbacktrace/UnwindCurrent.cpp
	libbacktrace/UnwindCurrent.h
libsparse: allow including from C++

Change-Id: I3788fd07e2b52430a410f85fb79dc886c6a07fea