ArrayRef'ize Sema::CodeComplete*

Patch by Robert Wilhelm.