Add more checking to WrappedSuspend1Barrier am: 32578abac2

Original change: https://android-review.googlesource.com/c/platform/art/+/2966069

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