strip doc-comments from core/thread.d

- documentation is generated from the .di file