gdbclient: fix gdbclient <processname> invocation

 - `pid` was being run on the host system and not the target.
 - toybox does not have `pid`, use `pidof` instead.
 - throw an error if more than one pid is matched

Change-Id: I049484013df804e7f0901ec8e4b872bacd839daa
1 file changed