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

fix http://d.puremagic.com/issues/show_bug.cgi?id=9209

It looks trivial, but it's actually a serious bug. Glad to get it fixed.