[PATCH 5.15 64/80] bpf,perf: Fix perf_event_detach_bpf_prog error handling