Btrfs: fix crash when starting transaction