[PATCH openEuler-5.10-LTS 314/559] libbpf: Skip forward declaration when counting duplicated type names