rt: Add classVtable field to TypeInfo and use it.
ir: Add buildConstantNull function to util.
semantic: Pass in a value for classVtable in typeidreplacer.