console.c: IO.console arguments passing

* ext/io/console/console.c (console_dev): send the given arguments
  to the opened console.  as a special case, do nothing if :close
  is given.

* test/lib/leakchecker.rb (LeakChecker#check_fd_leak): close if
  console.