* Procvars (methodpointers) must be treated as records, too. Fixes tw12318.pp and tw14155.pp after r23377. 
* Factored related code into a separate method, as it will probably need further refinement.


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