fix compiling errors when _OPENMP is undefined

fix compiling errors in SimpleTests/MatrixTests/MatVecMultNDPermOpenMP.cpp with clang