Revert "MediaCodec: Allow getting the codec info directly"

This reverts commit 93077a2902a74256b7eb4795e1ef92bbc5c50f10.
Revert "MediaCodec: Allow getting the chosen component name"

This reverts commit 056ef2ed5ff92b742fe53f2498c596ec1f6bed3c.