Add nothrow for thread_detachThis

thread_detachThis can be nothrow. This is particularly useful when used with pthread_cleanup.push() as it requires a nothrow function.