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