Fix Type Annotations in pandas.core.generic
Part of #25882

Current errors are as follows:

```sh
pandas/core/generic.py:116: error: Need type annotation for '_accessors'
pandas/core/generic.py:119: error: Need type annotation for '_metadata'
```

Both of these are containers which should contain strings, so just need proper annotation and this module can be removed from mypy.ini