dxva2: fix crash on initialization failure

If dxva2_init() fails, dxva2_uninit() will be called twice.