[PATCH 5.15 175/620] genksyms: fix memory leak when the same symbol is added from source