gh-103092: Convert some _ctypes metatypes to heap types
#113620
+141
−281
Merged