libjpeg+example method for loading JPEG file

Needed to send pointer to AAssetManager from Java to C++ code.