Astobj2: Ensure all calls to __adjust_lock pass a valid object.