[WIP][TASK] Replace static calls to FlashMessageQueue

Change-Id: Iceaaa80bce3ca754b38643be0f0fa82cbaff84ff
Resolves: #46606
Related: #44593
Releases: 6.1
Reviewed-on: https://review.typo3.org/19225
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn