Simplify try_lock() to avoid one forward branch in the common case.
Simplify try_lock() to avoid one forward branch in the common case.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars