dhcpv6: fix calculation of T1 and T2