[PATCH openEuler-5.10-LTS 161/427] libbpf: Fix logic for finding matching program for CO-RE relocation