JS: Implement h$clock_gettime in the JavaScript RTS (#23360)
This MR implements h$clock_gettime from GHCJS.
The test ThreadDelay001 is re-enabled for the JS backend, which was previously broken due to this function being unimplemented.
This MR implements h$clock_gettime from GHCJS.
The test ThreadDelay001 is re-enabled for the JS backend, which was previously broken due to this function being unimplemented.