Constrained a number of optimizations and updated reference offsets for ARM Thumb.
Embedded target can now build with optimizations.

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