fix clang 10 warnings
the typesystem checks in g_atomic_pointer_compare_and_exchange seem to trigger some false positives with clang 10
the typesystem checks in g_atomic_pointer_compare_and_exchange seem to trigger some false positives with clang 10