added else branch in `pthread_exit()` to avoid calling explicit `return;`
however, this won't help to completely eliminate the warning on returning from a `noreturn` function
Merge pull request #1076 from BytesGalore/remove_return_from_noreturn_function

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