more RTS support for exceptions, move WouldBlockException to ghcjs-prim