[mypyc] Don't make classes non-extension because of children (#7988)
This is a global behavior that will be solidly busted when doing
separate compilation. Produce an error instead. (We can probably
support it once we support interpreted inheritance.)