fix off-by-one error in attrsym

The allocation size for null-terminated character is lacking.
In actual, it is no problem in most case because `codegen_palloc` allocates more a memory size than required size.