add error handling in GameTextInput

With some IMEs window insets might be null sometimes, so we have to take
this into account.

Fix: 314924320
Test: build and run AGDKTunnel
Change-Id: I3f8edb39f1c4cb4a0a5cc61a8dfc4e4fb52015a8
1 file changed