tcl-tk: adapt upstream changes for ObjC-GC