Convert more SelectionDAG functions to use ArrayRef.