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: I9f58eef77e13b610a94d9de5ea42d0d68d5199cc
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
commit79a188760ac70342a329d860f343b7761af78c84
parent8520abfc02b493a6f2fbef23874c8c5ef980c2bd
authorAssam Boudjelthia <assam.boudjelthia@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeTue, 10 Feb 2026 18:37:03 +0000