[PATCH openEuler-5.10-LTS 42/44] bpf: Fix potential array overflow in bpf_trampoline_get_progs()