[FrameworkBundle] Update composer.json to account for #9792
minor #9944 [FrameworkBundle] Update composer.json to account for #9792 (realityking)

This PR was merged into the 2.5-dev branch.

Discussion
----------

[FrameworkBundle] Update composer.json to account for #9792

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

In #9792 RegisterListenersPass was moved from HttpKernel to EventDispatcher. Since FrameworkBundle uses that class the dependency needs to be rises to 2.5.

Commits
-------

f1efd16 [FrameworkBundle] Update composer.json to account for #9792