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