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.

Pick-to: 6.11
Change-Id: Ia00a12aa648fc42bc541262122728f120dfa2398
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
commit491a785e46713e27fc59ca3d8c403d6bc6d5eebc
parent988c1997374e52b0e097d3868ca9178cad83dea1
authorAssam Boudjelthia <assam.boudjelthia@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeTue, 10 Feb 2026 18:36:57 +0000