lavc: Add device context field to AVCodecContext