Correct syntax for omp critical