remove the `libc` module

The functions will be exposed in the appropriate modules, without an
artificial separation from pure Rust functions.