Fix a memory leak on error while updating index for var size column vector

If a column value has invalid UTF-8 byte, the error will be
caused. But we can't write a test for the case because grntest detect
invalid UTF-8 and report an error before passing JSON to Groonga.