Export kmem_asprintf and strfree.
Add gethrestime{_sec} prototypes.