[PATCH 4.14 166/218] tracing: Fix sleeping function called from invalid context on RT kernel