[PATCH 5.2 207/313] btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type