* ScreenWidth and ScreenHeight changed to word; several other types also changed to 16-bit and added typecasts to avoid 32-bit calculations due to mixing signed and unsigned 16-bit ints

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25477 3ad0048d-3df7-0310-abae-a5850022a9f2
* RTL: Changed 'shift' parameter of 64-bit shift helpers to CPU-native size, it doesn't have to be 64-bit because only its lower 6 bits are used. Not using 64 bit parameter improves code quality a bit.

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