sched/core: Check tgid in is_global_init()