PR9214: Convert the DIBuilder API to use ArrayRef.