[PATCH 5.4 196/475] libbpf: Skip forward declaration when counting duplicated type names