* fixed the spurious compiler warnings and added proper rangechecking when using Mem[] on i8086

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