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