[OpenMP] Use the more appropriate function to retrieve the thread id on OpenBSD (#65553) Use the getthrid() function instead of a syscall.