fix some ccall return types
Merge branch 'release-0.1' of github.com:JuliaLang/julia into release-0.1