gtkimcontextxim: fix gtk_im_context_xim_set_client_widget not handling widget=NULL
gtk_im_context_set_client_widget() allows passing NULL as widget to signal that the widget no longer exists. The xim implementation didn't handle that case which led to the test suite on gitlab-ci failing.