gdb, btrace: move xml parsing into remote.c

The code is only used in remote.c and all functions can be declared static.
3 files changed