snippets: use stack allocated GtkTextIter when looking for current word.