IME IM: A few small fixes

* Increase the buffer size from 10 to 17, to match Simple IM
* Don't convert keyval to unicode before passing it to
  composition checker (composition checker takes keyvals).
* Don't try to feed zeroes to _gtk_im_context_ime_commit_unichar().
  Also remember the number of non-zero chars fed to it,
  and only return TRUE when at least one such char was found.
  This prevents IME IM from returning incorrect values when
  buffer happens to contain zeroes.
4 jobs for ligatures in 16 minutes and 46 seconds (queued for 1 second)
latest
Status Name Job ID Coverage
  Build
passed fedora-autotools #306085

00:16:46

passed fedora-meson #306086

00:14:31

manual msys2-mingw32-autotools #306088
win32 allowed to fail manual
passed msys2-mingw32-meson #306087
win32

00:15:38