miuicamera-cupid: Patch algo jni lib to use correct Surface::connect method
In android 15 QPR1, google has removed a public method of the Surface class.
Our jni lib used that method and relies on the offset remaining the same, so
patch the lib to load it with the smaller offset.
https://github.com/LineageOS/android_frameworks_native/commit/6a5fdc1d5f6f76c5938aa73f72941bd3f2643628
Change-Id: I97e7ca9f24adad3ede69b599f8d44fdc96646048