[PATCH 4.9 095/129] btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type