gpu.c: find_array_index: take ppcg_kernel instead of gpu_gen