Port ThreadDelay001 to the "time" library
Port ThreadDelay001 to the "time" library

... as "old-time" isn't built when cross-compiling.

Issue #8395.

Signed-off-by: Austin Seipp <48c905ac3851f382b914247d97dd93273d5ff555@pobox.com>

christiaanb/ghc,forked-upstream-packages-for-ghcjs/ghc,GaloisInc/halvm-ghc,ezyang/ghc,oldmanmike/ghc,ghc-android/ghc,jstolarek/ghc,vikraman/ghc,mcschroeder/ghc,tibbe/ghc,frantisekfarka/ghc-dsi,nushio3/ghc,nushio3/ghc,tjakway/ghcjvm,jstolarek/ghc,lukexi/ghc,TomMD/ghc,anton-dessiatov/ghc,sgillespie/ghc,olsner/ghc,olsner/ghc,nushio3/ghc,acowley/ghc,christiaanb/ghc,acowley/ghc,ghc-android/ghc,nathyong/microghc-ghc,da-x/ghc,vikraman/ghc,sdiehl/ghc,bitemyapp/ghc,urbanslug/ghc,TomMD/ghc,nathyong/microghc-ghc,snoyberg/ghc,spacekitteh/smcghc,sgillespie/ghc,siddhanathan/ghc,holzensp/ghc,olsner/ghc,ghc-android/ghc,AlexanderPankiv/ghc,green-haskell/ghc,nathyong/microghc-ghc,sdiehl/ghc,TomMD/ghc,mettekou/ghc,oldmanmike/ghc,elieux/ghc,ml9951/ghc,sdiehl/ghc,spacekitteh/smcghc,mfine/ghc,gcampax/ghc,tjakway/ghcjvm,gcampax/ghc,elieux/ghc,olsner/ghc,fmthoma/ghc,tjakway/ghcjvm,sgillespie/ghc,mettekou/ghc,da-x/ghc,vTurbine/ghc,gridaphobe/ghc,anton-dessiatov/ghc,siddhanathan/ghc,urbanslug/ghc,elieux/ghc,nkaretnikov/ghc,snoyberg/ghc,mettekou/ghc,frantisekfarka/ghc-dsi,frantisekfarka/ghc-dsi,vikraman/ghc,GaloisInc/halvm-ghc,fmthoma/ghc,mfine/ghc,urbanslug/ghc,tjakway/ghcjvm,mettekou/ghc,siddhanathan/ghc,shlevy/ghc,ezyang/ghc,ezyang/ghc,GaloisInc/halvm-ghc,ezyang/ghc,sdiehl/ghc,mettekou/ghc,acowley/ghc,tibbe/ghc,wxwxwwxxx/ghc,ryantm/ghc,da-x/ghc,mettekou/ghc,frantisekfarka/ghc-dsi,nathyong/microghc-ghc,ml9951/ghc,forked-upstream-packages-for-ghcjs/ghc,shlevy/ghc,olsner/ghc,AlexanderPankiv/ghc,acowley/ghc,urbanslug/ghc,christiaanb/ghc,siddhanathan/ghc,oldmanmike/ghc,nushio3/ghc,sgillespie/ghc,nushio3/ghc,mettekou/ghc,vikraman/ghc,vTurbine/ghc,ml9951/ghc,lukexi/ghc,wxwxwwxxx/ghc,AlexanderPankiv/ghc,mcschroeder/ghc,snoyberg/ghc,AlexanderPankiv/ghc,vTurbine/ghc,olsner/ghc,gcampax/ghc,urbanslug/ghc,spacekitteh/smcghc,ghc-android/ghc,nkaretnikov/ghc,TomMD/ghc,nkaretnikov/ghc,mfine/ghc,green-haskell/ghc,ml9951/ghc,tibbe/ghc,anton-dessiatov/ghc,olsner/ghc,oldmanmike/ghc,ghc-android/ghc,ryantm/ghc,lukexi/ghc,shlevy/ghc,gcampax/ghc,elieux/ghc,vTurbine/ghc,anton-dessiatov/ghc,mcschroeder/ghc,gridaphobe/ghc,fmthoma/ghc,holzensp/ghc,oldmanmike/ghc,oldmanmike/ghc,nathyong/microghc-ghc,ezyang/ghc,GaloisInc/halvm-ghc,gridaphobe/ghc,gcampax/ghc,urbanslug/ghc,forked-upstream-packages-for-ghcjs/ghc,gridaphobe/ghc,ml9951/ghc,TomMD/ghc,frantisekfarka/ghc-dsi,TomMD/ghc,tjakway/ghcjvm,christiaanb/ghc,gcampax/ghc,ghc-android/ghc,mcschroeder/ghc,ml9951/ghc,snoyberg/ghc,sgillespie/ghc,jstolarek/ghc,bitemyapp/ghc,ghc-android/ghc,nathyong/microghc-ghc,wxwxwwxxx/ghc,shlevy/ghc,fmthoma/ghc,acowley/ghc,green-haskell/ghc,green-haskell/ghc,wxwxwwxxx/ghc,forked-upstream-packages-for-ghcjs/ghc,elieux/ghc,sgillespie/ghc,wxwxwwxxx/ghc,nathyong/microghc-ghc,acowley/ghc,tibbe/ghc,nkaretnikov/ghc,holzensp/ghc,nkaretnikov/ghc,lukexi/ghc,fmthoma/ghc,nkaretnikov/ghc,wxwxwwxxx/ghc,vTurbine/ghc,snoyberg/ghc,vikraman/ghc,vikraman/ghc,christiaanb/ghc,forked-upstream-packages-for-ghcjs/ghc,ml9951/ghc,spacekitteh/smcghc,sgillespie/ghc,bitemyapp/ghc,fmthoma/ghc,tjakway/ghcjvm,siddhanathan/ghc,bitemyapp/ghc,urbanslug/ghc,mfine/ghc,da-x/ghc,forked-upstream-packages-for-ghcjs/ghc,ryantm/ghc,bitemyapp/ghc,siddhanathan/ghc,acowley/ghc,mcschroeder/ghc,ezyang/ghc,forked-upstream-packages-for-ghcjs/ghc,shlevy/ghc,mfine/ghc,GaloisInc/halvm-ghc,snoyberg/ghc,mcschroeder/ghc,sdiehl/ghc,GaloisInc/halvm-ghc,tjakway/ghcjvm,holzensp/ghc,da-x/ghc,holzensp/ghc,sdiehl/ghc,siddhanathan/ghc,jstolarek/ghc,ezyang/ghc,nushio3/ghc,elieux/ghc,shlevy/ghc,oldmanmike/ghc,gridaphobe/ghc,snoyberg/ghc,TomMD/ghc,sdiehl/ghc,ryantm/ghc,gridaphobe/ghc,da-x/ghc,shlevy/ghc,vikraman/ghc,ml9951/ghc,da-x/ghc,wxwxwwxxx/ghc,christiaanb/ghc,gcampax/ghc,elieux/ghc,anton-dessiatov/ghc,mcschroeder/ghc,ryantm/ghc,spacekitteh/smcghc,vTurbine/ghc,christiaanb/ghc,nkaretnikov/ghc,nushio3/ghc,GaloisInc/halvm-ghc,green-haskell/ghc,mfine/ghc,gridaphobe/ghc,jstolarek/ghc,vTurbine/ghc,mfine/ghc,anton-dessiatov/ghc,fmthoma/ghc,tibbe/ghc,AlexanderPankiv/ghc,AlexanderPankiv/ghc,anton-dessiatov/ghc,AlexanderPankiv/ghc,lukexi/ghc