tracing: Fix potential out-of-bounds in trace_get_user()