Revert "(#19241) Bump ActiveMQ dependency to 5.8.0 to solve upstream KahaDB issues"

This removes this patch, as it changed the metrics we expose via the 'metrics'
api end-point. Reverting until we come up with a better solution.

This reverts commit e36e5084dfb80f0c6383e939fc4307e61921044c.