[PATCH 4.14 137/185] btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type