[TASK] Update symfony dependencies

This change enables support for Symfony 6.x
and raises Symfony's minimum version to 5.4.0
as this is a LTS version.

Resolves: #96171
Releases: main, 11.5
Change-Id: Ia2acbe0bca60e0dbdb96cb2fe2e82a63f9575554
355 jobs for main.72434.2 in 28 minutes and 25 seconds (queued for 1 minute and 1 second)