kern_thr_exit(): clear kASTs in advance
PR: 289204
(cherry picked from commit f51d7d5139a76d225c9f537bd948525ababdef0c)