sys:posix:pthread removed explicit `return;` from `pthread_exit()`

removed the return statement to avoid warnings on returning from a `noreturn` function.
However, as this function is able to end the warning remains but is not triggered by an explicit `return;` call