Add callback to allow replacement of runtime support library.

Change-Id: I84ec56dfb29a0158015ebf31b3a73ac5bf34ef98
diff --git a/cpu_ref/rsCpuCore.cpp b/cpu_ref/rsCpuCore.cpp
index 7facade..afa9c57 100644
--- a/cpu_ref/rsCpuCore.cpp
+++ b/cpu_ref/rsCpuCore.cpp
@@ -58,7 +58,8 @@
 RsdCpuReference * RsdCpuReference::create(Context *rsc, uint32_t version_major,
         uint32_t version_minor, sym_lookup_t lfn, script_lookup_t slfn
 #ifndef RS_COMPATIBILITY_LIB
-        , bcc::RSLinkRuntimeCallback pLinkRuntimeCallback
+        , bcc::RSLinkRuntimeCallback pLinkRuntimeCallback,
+        RSSelectRTCallback pSelectRTCallback
 #endif
         ) {
 
@@ -73,6 +74,7 @@
 
 #ifndef RS_COMPATIBILITY_LIB
     cpu->setLinkRuntimeCallback(pLinkRuntimeCallback);
+    cpu->setSelectRTCallback(pSelectRTCallback);
 #endif
 
     return cpu;
@@ -105,6 +107,7 @@
     mExit = false;
 #ifndef RS_COMPATIBILITY_LIB
     mLinkRuntimeCallback = NULL;
+    mSelectRTCallback = NULL;
 #endif
 }