Merge "audiosystem JNI: check env pointer before use." into lmp-mr1-dev