nvlength returns Int instead of Int64

Fixes Sundials.asarray on 32-bit systems