openmp: Change omp_get_initial_device () to match OpenMP 5.1 requirements