Make ScriptC's mEnvironment.mIsThreadable survive the bcc caching and
then cache-reloading.

Change-Id: I0f5d54160dd9ee567fae53c69b246f99096993da
diff --git a/rsScriptC.cpp b/rsScriptC.cpp
index 6587b51..d4edafd 100644
--- a/rsScriptC.cpp
+++ b/rsScriptC.cpp
@@ -378,6 +378,12 @@
 static BCCvoid* symbolLookup(BCCvoid* pContext, const BCCchar* name) {
     const ScriptCState::SymbolTable_t *sym;
     ScriptC *s = (ScriptC *)pContext;
+    if (!strcmp(name, "__isThreadable")) {
+      return (BCCvoid*) s->mEnviroment.mIsThreadable;
+    } else if (!strcmp(name, "__clearThreadable")) {
+      s->mEnviroment.mIsThreadable = false;
+      return NULL;
+    }
     sym = ScriptCState::lookupSymbol(name);
     if (!sym) {
         sym = ScriptCState::lookupSymbolCL(name);