[tor-commits] [tor/release-0.2.2] Detect and handle NULL returns from (gm/local)time_r