(read_utmp): Add variant for systems that have the utmpname function.