coredump: zap_threads() must skip kernel threads