HomeFreeBSD

In preparation for switching linuxulator to the use the native 1:1

Description

In preparation for switching linuxulator to the use the native 1:1
threads split sys_thr_exit() up into sys_thr_exit() and kern_thr_exit().
Move
Where the second will be used in linux_exit() system call later.

Differential Revision: https://reviews.freebsd.org/D1028
Reviewed by: trasz