Debug build and debugger shouldn't be required for OS thread names

There is some use for not needing a debugger or debug build when setting OS thread names. This is especially useful in stack walks and crash dumps.