Expose the prototype for getMonotonicNSec

Fixes T3807 on OS X 32.
Use pthread_kill on OS X too

Fixes signals004(threaded1,threaded2) on OS X 32.
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc