move WouldBlockException to ghcjs-prim