migrate to native types

This removes some redundant libc types where a native Rust type already exists.