CXX-204 Use vendored timegm implementation if platform does not offer it

(cherry picked from commit 5bf477aa3dee9e82c9c2286a9ad8341cd71dfe97)

Conflicts:
	SConstruct
	src/mongo/util/time_support.cpp