[PATCH 5.12 141/178] x86/process: Check PF_KTHREAD and not current->mm for kernel threads