mediacodec: fix field type mismatch