Fix text-input-v1 compatibility with chromium 111.0.5563.64-1
While the documentation is not clear, it seems that preedit_cursor is always required for every preedit_string event. Send preedit_cursor for the preedit_string event we generate upon commit_string.