Prefer ScopedUtfChars where possible

Minor refactor of input-related files to use safer ScopedUtfChars
constructs.

Fixes: 119214506
Test: make sure the device boots with an -eng build
Change-Id: I7980100be616c921d522484277444546ebdab56b
4 files changed