* textrec updated to use codepointer

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24849 3ad0048d-3df7-0310-abae-a5850022a9f2
* updated tfiledef.setsize to support the size of textrec in the medium memory model

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24850 3ad0048d-3df7-0310-abae-a5850022a9f2