sched: declare pid_alive as inline