Suppress notifyCharacteristicChanged deprecation warnings


The deprecation itself is already handled, and suppressing the warning
is sufficient. For suppression the code using the old API is isolated
into its own function.

Pick-to: 6.9 6.8 6.5
Task-number: QTBUG-132455
Change-Id: I39cae1187d3bf88850fc340f60155d807dd6e4e5
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Lars Schmertmann <lars.schmertmann@governikus.de>
commit432a082ed3d431696bbaff6970ea5ea6300d3ab4
parent8c9ce93271ab732835484e193295f045ef482657
authorJuha Vuolle <juha.vuolle@qt.io>
committerJuha Vuolle <juha.vuolle@qt.io>
commit timeThu, 2 Jan 2025 19:01:01 +0200