pet_scop_collect_arrays: skip arrays that already appear in scop