* moved ARM/x86 ifdef'ed code from ncgcal to virtual methods

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24179 3ad0048d-3df7-0310-abae-a5850022a9f2
Fix the exception reported in Mantis #24072. This does not mean though that the bug is fixed, because the bug itself is related to the topic "partial specialization".

symtable.pas, sym_is_owned_by:
	* instead of checking in which symtables to not look, specify in which tables to look (namely object- and recordsymtables)


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