Fix ccall type issues in bigint.jl, according to #2901

Now it uses Culong and Clong when needed.