Fixed use of no longer defined variable in OpenMP pragma.