btrfs: fix deadlock between chunk allocation and chunk btree modifications