Update the C++ backend to use the new ArrayRef'ified APIs. Patch by arrowdodger!