print: added write_sentinel() for chained format writing.
Corrected charwise string type check for unbound and plain pointers.

test/general/format: added charwise string tests.