[PATCH 5.10 260/286] perf env: Avoid recursively taking env->bpf_progs.lock