Add more Hwui JNI bindings to host builds

This adds the missing JNI bindings for the Hwui host build. The JNI
files were already present in the build, but it was not possible to
register their bindings.
This also adds the JNI arguments for JVM mssing in some methods.

Flag: EXEMPT host-only
Bug: 322360037
Test: link hwui on host
Change-Id: I80bd9e36977e24973f1626034c1fc749184e6f5c
diff --git a/libs/hwui/jni/MeshSpecification.cpp b/libs/hwui/jni/MeshSpecification.cpp
index ae9792d..b943496 100644
--- a/libs/hwui/jni/MeshSpecification.cpp
+++ b/libs/hwui/jni/MeshSpecification.cpp
@@ -126,7 +126,7 @@
     SkSafeUnref(meshSpec);
 }
 
-static jlong getMeshSpecificationFinalizer() {
+static jlong getMeshSpecificationFinalizer(CRITICAL_JNI_PARAMS) {
     return static_cast<jlong>(reinterpret_cast<uintptr_t>(&MeshSpecification_safeUnref));
 }