[PATCH 4.19 228/287] tracing: Fix sleeping function called from invalid context on RT kernel