[PATCH openEuler-22.09 v3 391/391] libbpf: Fix logic for finding matching program for CO-RE relocation