mediacodec: check exceptions after createByCodecName()