Fix TestAttachResume test so it doesn't hang on Linux with ptrace lockdown.

Similar to previous fix, this augments the test inferior to
immediately indicate it may be ptraced by any Linux process
when the appropriate symbols are defined.

This seems to indicate we need to fix our lldb attach logic to
catch when an attach fails, and trigger an appropriate error
instead of the current behavior of hanging indefinitely.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220654 91177308-0d34-0410-b5e6-96231b3b80d8
Merge upstream llvm.org r220654 into dev-thread-state-coordinator