fix Issue 9209 - ice(symbol.c) with const struct heap allocation
Merge pull request #1904 from WalterBright/fix9209

fix Issue 9209 - ice(symbol.c) with const struct heap allocation