Start using nqp::flushfh.

Fixes .flush, and also prompt(), on JVM.