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