Make nvlength return Int

Fixes the following error on 32-bit systems:

ERROR: no method pointer_to_array(Ptr{Float64},(Int64,))

when calling Sundials.asarray