ir: Add vtableVariable field to class.