compiler: don't skip objc class/protocols in case of initrtti, fixed crash of dynamic array/record which contains a objc class/protocol and requires an initialization

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