Avoid range check error in a_op_const_reg_reg

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