Fix lldb-gdbserver build.

Build break change by Paul Osmialowski.

Minor changes to argument passing (converted unintentional pass-by-value to pass-by-ref) by Todd.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218186 91177308-0d34-0410-b5e6-96231b3b80d8