Uncomment out gpu_array_is_scalar check
Fix bug: not initialize correctly

Initialize scop->dep_external, tagged_dep_order and dep_order and
free them in freeScop function.