odhcp6c: avoid integer overflows in resend logic