btrfs: Take trans lock before access running trans in check_delayed_ref