Eliminate compiler warnings about string literals as "char *".

There are some old functions that return "char *" when they really should
return "const char *". This commit copies literals into properly editable "char
*" buffers (although editing would violate the contract).

As of this commit, there are no more compiler warnings for the main Mosh for
Chrome code. Let's keep it that way.