librustpkg: Make `io::ignore_io_error()` use RAII; remove a few more
cells.