Don't do ARM FoldShiftLdrStr peephole optimization if there's an offset in the reference.
Use UXTH+UXTB instructions instead of two shifts on processors that supports that.
Eliminate internalerror when constant pointers are typecast as arrays.

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