[PATCH AUTOSEL 5.11 3/4] perf ftrace: Fix access to pid in array when setting a pid filter