Use passing by-value in gmtime, mktime

Per the recommendation of the now-removed FIXME.