* allow initialization of DefaultSystemCodepage also if system could return more information about prepared codepages

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28952 3ad0048d-3df7-0310-abae-a5850022a9f2
  * fix for DosGetMessage, better (more accurate) declaration for DosQueryCP and removed Dos[Alloc/Free]ThreadLocalStorage which is not available before OS/2 Warp - the latter planned to be moved to DosCall2 later

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