* added word() typecasts around constants in the smallint range passed to
    NtoLE() so that they don't cause range check errors on big endian
    platforms 
  * fixed an error whereby a byte was passed to NtoLE (-> was converted to a
    smallint and swapped on big endian platforms)


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