[EventDispatcher] Fixed RegisterListenersPass (ContainerAwareEventDispatcher)

| Q             | A
| ------------- | ---
| Bug fix?      | sort of, minor
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

I use Symfony components as standalone libraries, so it wasn't obvious for me that `RegisterListenersPass` requires `ContainerAwareEventDispatcher`:
```
PHP Fatal error:  Call to undefined method Symfony\Component\EventDispatcher\EventDispatcher::addListenerService()
```
you need to resolve the class here, to account for classes defined through parameters