Fix crash on dealloc

UISegmentedControl's dealloc() calls removeAllSegments, causing
a segfault because __items is a dangling pointer.