Split off PrimMonadInternal haskell/vector#65