cmOutputConverter: Inline some functions and avoid string re-allocations
Use std::string
(with correct initial size) in cmOutputConverter::Shell__GetArgument
instead of std::ostringstream
. This avoids several re-allocations of the
string buffer. In addition, convert some of the private static members into
inline free functions to avoid function calls.