Turns out the number of times you need to resume the process for /bin/sh depends on the
setting of the environment variable COMMAND_MODE.  Changed the Platform::GetResumeCountForShell
to Platform::GetResumeCountForLaunchInfo, and check both the shell and in the case of
/bin/sh the environment as well.


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