d3d9/dxva2: fix memory leak
the memory allocations were released in the error path but not the success path.
Previously discussed on the mailing list, as linked below. There was discussion about whether or not to implement an alternate solution, but no conclusion was reached, and so the memory leak remains.