fix compilation bug of init_openmp.c relating to existence of omp_num_threads and omp_get_num_threads() when compiling without OpenMP