Assistant/remote control: Use int for return of getc().

Task-number: QTBUG-34916
Change-Id: Ic67671f03deface209a5f0fa67cbf06b5f4b7f38
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>