[CMake] Remove unused variable from the atomics test