readutmp: Reduce code duplication. * lib/readutmp.c (have_boot_time): New function. (read_utmp_from_file): Invoke it, instead of duplicating the same loop.