add helper funcion to invoke a function in gl thread
don't create a pool, since it doesn't invoke any iOS dependent codes
use ThreadHelper::runOnGLThread() in AssetsManager
Merge pull request #4401 from minggo/thread-helper

[ci skip]add helper funcion to invoke a function in gl thread