tests: Fix type mismatches in new atomic tests when compiling with clang
Clang seems to apply more rigorous type checks across the different
arguments to the atomic builtins. Fix various
-Wincompatible-pointer-types
, -Wpointer-sign
and -Wint-conversion
warnings.
Signed-off-by: Philip Withnall pwithnall@endlessos.org