transcode: fix object leak with audio transcoding.

Transcoding audio could result in an assert being triggered on an objects refcount at
exit of vlc. The issue was introduced by commit id: 651ed87f2bc8f2299c823122406e524b30590d2f
transcode: cosmetics