x86: Make the mutex implementation use ISO atomic ops

Make the x86 mutex implementation use ISO atomic ops rather than inline
assembly.

Signed-off-by: David Howells <dhowells@redhat.com>
2 files changed