Btrfs: fix deadlock caused by the race between relocation