fix incorrect ccall signatures of memset, jl_readBuffer,
jl_uv_fs_t_ptr_offset, and memchr, as identified in #2901