* split SetCodePage into a wrapper and a function doing the real work to get rid of exception frames in the simple case

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