[PATCH 6.13 553/623] genksyms: fix memory leak when the same symbol is read from *.symref file