Btrfs: Add a helper that finds previous extent item