gdb: Disable gdbserver conditionally.

Make the disabling of gdbserver conditional on the value of
TCMODE.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>