dxva2: Keep code shared between dxva2 and d3d11va under the correct #if