Fix bottomRightBrickIdxDelta and num_slices_in_pic_minus1 inference after !972 when rect_slice_flag = 1 and single_brick_per_slice_flag = 1