Fix handling of BUILD_SUFFIX in remote-gdb script