Fix potential NULL dereference.

Introduced when moving from gmtime_r() to gmtime().
Found with fbinfer.
1 file changed