[PATCH 5.4 06/37] kthread: Fix PF_KTHREAD vs to_kthread() race