[PATCH 4.19 145/211] btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type