sys: fix thread_print_all
Merge pull request #1908 from OlegHahm/ps_fix_after_tcb_cleanup

sys: fix thread_print_all