[PATCH 5.0 058/238] tracing/perf: Use strndup_user() instead of buggy open-coded version