fix compilation bug of init_openmp.c

silly bug relating to existence of omp_num_threads and omp_get_num_threads() when compiling without OpenMP