fcl-db: base: when reporting RangeError take into account also user defined MinValue, MaxValue. Bug #26606

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