Fix test.chap6f. Add FLUSH-BUFFER and SYSTEM procedures.

Note that test.chap6f still fails on continuations used out of their
dynamic extent, as mentioned in the Makefile.