[PATCH 5.17 69/75] bpf: Fix potential array overflow in bpf_trampoline_get_progs()