semantic: Add _ptr field to interface structs.