[PATCH 5.18 60/67] bpf: Fix potential array overflow in bpf_trampoline_get_progs()