Use cb-versions of gmtime_r and localtime_r
Use cb-versions of gmtime_r and localtime_r

Change-Id: Ib0f761e06ede684e4a160471a073b5196aacd628
Reviewed-on: http://review.couchbase.org/43351
Reviewed-by: Dave Rigby <a09264da4832c7ff1d3bf1608a19f4b870f93750@couchbase.com>
Tested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>

mrkwse/memcached,couchbase/memcached,jimwwalker/memcached,daverigby/memcached,jimwwalker/memcached,daverigby/memcached,daverigby/memcached,couchbase/memcached,cloudrain21/memcached-1,owendCB/memcached,owendCB/memcached,daverigby/kv_engine,mrkwse/memcached,cloudrain21/memcached-1,daverigby/memcached,daverigby/kv_engine,daverigby/kv_engine,couchbase/memcached,owendCB/memcached,mrkwse/memcached,owendCB/memcached,mrkwse/memcached,cloudrain21/memcached-1,couchbase/memcached,jimwwalker/memcached,cloudrain21/memcached-1,daverigby/kv_engine