Update intfuncs.jl

otherwise, even tough `pad` should be non-negative 
julia> digits(5,2,uint64(8))
ERROR: `digits` has no method matching digits(::Int64, ::Int64, ::Uint64)
Merge pull request #8996 from goretkin/master

digits should accept values of "pad" that are unsigned