mythtranscode: Prevent double-free

Not the best way to solve the problem, but it works...

Fixes #12228