guestfs.h: Move some internal functions to the internal header.