Btrfs: fix race between fs trimming and block group remove/allocation