Thread exit function is now in its correct place which is user space.
However there is still work to do so we can actually set thread return
function in the actual user space correctly. This must be done when we
create the real user space library/shared region to the memory space.