time_internal: Prefix fallback versions of gmtime_r/localtime_r with ff_