improve the heuristic to detect when an entry in /proc is a kernel thread.