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 introduce kern_thr_alloc() which will be used later in the
linux_clone().

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