Alexandre Julliard : ntdll: Add a helper function to set the thread id.