gthread: Annotate g_thread_exit() with G_NORETURN
pthread_exit() is also marked noreturn, and the function does not in fact return.
For win32, I can't find a copy of the header file to check if _endthreadex() is marked with __declspec(noreturn), but its documentation does say that it never returns.