Fix gdb.base/term.exp on non-"target native" boards