[array] Replace raise exception by pending exception in jit-icalls