break infinite recursion in GENERATE-SLOTD-TYPECHECK
Compilation of a typecheck can cause class finalization, which in turn can
cause calls to GENERATE-SLOTD-TYPECHECK.
Given the right sort of dependency graph, this can cause a cycle which needs
to be broken.
Regression from 220.127.116.11, fixed bug 1001799.