[S] Change in osmo-trx[master]: build: detect pthread_setname_np and sched_* APIs, guard usage