Move assertError into GHC.IOBase