fix warnings in rime_api_console.cc