[lldb] Get the TargetAPI lock in SBProcess::IsInstrumentationRuntimePresent (backport of D67831)
[lldb] Get the TargetAPI lock in SBProcess::IsInstrumentationRuntimePresent (backport of D67831)

We should get the TargetAPI lock here to prevent the process of being destroyed while we are in the function. Thanks Jim for explaining what's going on.

Fixes rdar://54424754

apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb