Issue #22079: PyType_Ready() now checks that statically allocated type has
no dynamically allocated bases.