Modified unyield_depth type to OPA_int_t and implemented check and decrementing of unyield_depth in yield()