Partial revert of commit ed8b723c. Make it (constexpr) configurable whether we allow unwinding native stacks of unattached threads. Bug: 27449879 (cherry picked from commit 8d1594da) Change-Id: Iad3f3dde63155993bb4efb7bbbbde3e36f1379cc