[PATCH 6.6 348/393] genksyms: fix memory leak when the same symbol is added from source