Remove obsolete debugging code from _thread.scm