atomics-basic, extended.cl: fixed tests in the same way as the fix for atomics.cl

So: by using CHECK-DAG for the checks before __kernel.