Add 2.9 versions of struct utmp functions to libc and libutil.