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: I55421767d72973dd22af4d93bf89d52389ed305b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
commit75fd8397135a15a0d4a047aca5b6d360e16553a5
parent9d5b0c243f82f1badaf0454463df51c0e0fc4ece
authorAssam Boudjelthia <assam.boudjelthia@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeTue, 10 Feb 2026 18:36:47 +0000