avcodec/dnxhdenc: stop leaking memory when initalization fails