[PATCH OLK-6.6] tracing: Fix crash passing ERR_PTR to kthread_stop()