tests/parsetext.cpp: move text_reader into libcainteoir