[time] use the gmtime from newlib

  Defect Number:
    Reviewed By:
   Testing Done: