[PATCH AUTOSEL 5.4 2/2] perf ftrace: Fix access to pid in array when setting a pid filter