Catch nullptr possibilities in MediaExtractor jni code

Detect and gracefully fail some missed cases where a null pointer can
occur in the MediaExtractor code.

Bug: 277614674
Test: CtsMediaExtractorTestCases w/debug messages
Change-Id: I4acb6dbbcf42391194555559ee7bd2612c776ece
1 file changed