Backport of "task: Use SetThreadDescription Win32 API for setting thread name" into 1.18
Backport of !735 (merged) "task: Use SetThreadDescription Win32 API for setting thread name".
Commits:
- f0d00320 task: Use SetThreadDescription Win32 API for setting thread name