Fix for Mantis #25210 .

compiler/pdecobj.pas, object_dec:
  * since revision 25518 the global symtable of the current module is no longer popped and pushed again so that the defaware symtablestack can add the helper; thus we need to do this not only for static symtables, but for global ones as well
  * adjusted comment to reflect current situation


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