Fix crash on Any metaclass in incremental mode (#14495)
Fixes #14254
This essentially re-implements https://github.com/python/mypy/pull/13605
in a simpler way that also works in incremental mode. Also I decided to
set `meta_fallback_to_any` in case of errors, to match how we do this
for base classes.