Fix binary compatibility and remove replace-stdio

-nio_console now an opaque pointer
-replace-stdio removed, as obsoleted by libsyscalls