Sorry, shouldn't remove gtk_im_context_cocoa_" prefix from
gtk_im_context_cocoa_set_preedit_string().
Remove needless type check.
Add gtk_im_context_cocoa_get_preedit_string() and remove markedText
from GtkIMCocoaView.