Use unmarkText method instead of gtk_im_context_cocoa_set_preedit_string
to clear preedit string.
Implement "reset" of GtkIMContextCocoa.