compiler: search namespace symbols also in the interface symtable of a unit when we are registering a unit with a namespace in the implementation section (fixes issue #0025059)

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