Android: Add extern "C" to JNI_OnLoad to prevent name mangling


While not causing issues today, name mangling could lead to a problem
in the future. This patch adds extern "C" to the JNI_OnLoad functions
in Qt TextToSpeech.

Pick-to: 6.11
Change-Id: I9960310b52d5fad0726eca755eb77f680a9c850e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
commit07a508b2b8ae16d4d4d8107246565b08d9e2d884
parentf707e30019e11237f1dd50f15e8eee06a9fb4975
authorAssam Boudjelthia <assam.boudjelthia@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeTue, 10 Feb 2026 18:35:31 +0000