Convert SDNode constructor to use ArrayRef.