Switch ConstantVector::get to use ArrayRef instead of a pointer+size