compiler: don't output an error twice in 'on Exception do' block if Exception is not a valid type

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