btrfs-progs: Introduce function to setup temporary extent tree