dxva2_deinterlace: fix potential double free when there are errors