[PATCH 5.3 229/344] btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type