[JNI] Refactor OpenSL initialization

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Merge branch 'master' of github.com:cmatsuoka/xmp-android