[PATCH 5.10 29/29] perf/core: Fix unconditional security_locked_down() call