Merge "media: keep JMediaCodec::mCodec reference until destruction" into qt-dev am: 8a1174bc94
am: 3533116ee9

Change-Id: I36faead8a3b05e1f1e70b95bcd96586a4f81d689