SystemInitializerCommon fix compilation on linux

C++ defines two overloads of std::iscntrl. One in <cctype> and one in
<locale>. On linux we seem to include both which makes the std::erase_if
call ambiguous.

Wrap std::iscntrl call in a lambda to ensure regular overload
resolution.

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