fix fix Issue 11265 - Segfault while calling instance method of class defined inside struct

vtbl[] calculation is essentially unrelated to the class instance size.
So, just only once initializing of vtbl[] and running semantic on member
functions is sufficient.