Btrfs: fix race between using extent maps and merging them