[PATCH 5.16 0560/1017] libbpf: Skip forward declaration when counting duplicated type names