Add clang-format support.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
atomic: Disable atomic wrapper when real atomics are provided.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
messageq: Fix errors and warnings uncovered by the latest GCC compiler.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>