[qtbase] Fix handling QT_IM_MODULE=none