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