rtl-console: fixed TKeyEvent to TKeyRecord mapping on big endian systems

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