Fix check for thread unwind. am: 2d5d46ca85 am: c9ba5eaf54

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/18596248

Change-Id: I5d0e4fde5710d616c0f7740a3a10d120de838105
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>