m8: commonize libtime_genoff

Change-Id: Ifc8240101d9c6d33d478191829a1aab3934c51f9