m8: commonize libtime_genoff