Avoid a null pointer dereference on clean-up after oom in ac3 encoder.