sched.h: Use pid_t type for pid argument
MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33533