Fix {g,s}ettimeofday when !UCLIBC_HAS_REALTIME
The {g,s}ettimeofday functions internally depend on clock_{g,s}ettime,
but the prototypes for those functions in the time.h header are gated
behind the config option UCLIBC_HAS_REALTIME. When building without that
config (e.g. allnoconfig) a compile error occurs. Fix by just adding a
copy of the declaration unconditionally to the relevant translation units.
Fixes: 8ea0140d5 ("Introduce time64 support.")
Signed-off-by: Charles Mirabile <cmirabil@redhat.com>