remove unneeded cast in symtab.c