- Assert sched_lock in upcall_remove() since it is needed there and all   callers already lock it there. - Lock sched_lock slightly earlier in kse_create() so that it covers   kg_numupcalls.
- Assert sched_lock in upcall_remove() since it is needed there and all
  callers already lock it there.
- Lock sched_lock slightly earlier in kse_create() so that it covers
  kg_numupcalls.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase