Add API check for loadSymbols(), so that functions being dlsymed
will depend on the device API level.
(default: only load functions in API <= 21);

Change-Id: I4b65df7f228a23d713b69983ddb81ce67075d9cc
diff --git a/cpp/rsDispatch.h b/cpp/rsDispatch.h
index 066018d..c1c8d77 100644
--- a/cpp/rsDispatch.h
+++ b/cpp/rsDispatch.h
@@ -173,7 +173,7 @@
     AllocationGetPointerFnPtr AllocationGetPointer;
 };
 
-bool loadSymbols(void* handle, dispatchTable& dispatchTab);
+bool loadSymbols(void* handle, dispatchTable& dispatchTab, int device_api = 0);
 
 //USAGE_IO for RS Support lib
 typedef void (*sAllocationSetSurfaceFnPtr) (JNIEnv *, jobject, RsContext, RsAllocation, RsNativeWindow, dispatchTable);