Set the preedit mode of an IMContext.
Implemented in ScimBridgeAgentIMContextImpl.
Referenced by ScimBridgeAgentImpl::set_preedit_mode().