Solaris updates for core.sys.posix.time.

timegm() is in the C library.
CLOCK_REALTIME is also available.
(cherry picked from commit 65cd8487a638e5aa7226ecdb0605da027628552a)