uinput: crash if device creation fails

Previously the tool just carried on, with event injections being
silently dropped, which isn't very obvious behaviour.

Bug: 302297266
Test: cause device creation to fail somehow, check the tool exits
Change-Id: I94e931729339bff0f6fc7ab5b591f062043a1d7a
1 file changed