[Git][wine/wine][master] server: Don't fail SetThreadPriority() on terminated threads.