This fixes interactions with witness_assert_depth[_to_rank](), which was added in dad74bd3 (Convert witness_assert_lockless() to witness_assert_lock_depth().).