[mypyc] Add primitive ops for dictionary methods (#8742)
This covers both view and list versions (it looks like both are used relatively often, at least in mypy). This accompanies https://github.com/python/mypy/pull/8725 to account for cases where `keys`/`values`/`items` appear in non-loop contexts.