uwrap: Add optimistict pthread_exit() clenaup.

Threads should call pthread_exit() in the end.

TESTS: "Exploit" uwrap_setgroups() test from test_glibc_thread_support.c
       to call pthread_exit().

Signed-off-by: Robin Hack <hack.robin@gmail.com>