Move C++ API over to function tables rather than linking libRS directly.

Change-Id: I7841df768d5bd10fa941b3655673fd73496a8137
diff --git a/cpp/ScriptC.cpp b/cpp/ScriptC.cpp
index f66e0ec..30aa380 100644
--- a/cpp/ScriptC.cpp
+++ b/cpp/ScriptC.cpp
@@ -27,7 +27,7 @@
                  const char *cachedName, size_t cachedNameLength,
                  const char *cacheDir, size_t cacheDirLength)
 : Script(NULL, rs) {
-    mID = rsScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
-                          cacheDir, cacheDirLength, (const char *)codeTxt, codeLength);
+    mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
+                                      cacheDir, cacheDirLength, (const char *)codeTxt, codeLength);
 }