Partial revert to MediaCodeList.cpp

revert changes made here
https://github.com/Whitehawkx/frameworks_av/commit/47abcca73815ce75631bf4f7095ec0d6481ba0b7

Signed-off-by: Whitehawkx <xxwhitehawk@gmail.com>