gpu_local_array_info_linearize_index: handle references to array slices