lib/gdb.exp (run_on_host): Log error output if program fails.