gdb: Disable gdbserver conditionally.

Make the disabling of gdbserver conditional on the value of
TCMODE.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Merge pull request #29 from drewmoseley/disable-gdbserver-conditionally

gdb: Disable gdbserver conditionally.