parlib: Add uthread_self()