Fix a bug that snippet_html(XXX),XXX fails with "stack error"

[Groonga-talk] (no subject)
http://sourceforge.net/mailarchive/message.php?msg_id=30545009

Reported by Hendro Wibowo. Thanks!!!