security: catch exceptions in StagefrightTest

Not all exceptions from MediaCodec indicate security vulnerabilities.
Also fix cleanup of MediaPlayer and MediaCodec tests.

Bug: 27902454
Change-Id: Ica5acb2ee44787258f36f0cb600a667312e77ba8
1 file changed