[PATCH 5.17 0619/1126] libbpf: Skip forward declaration when counting duplicated type names