d3d12: Fix video encode support cap inputs on downlevel OS
Remove legacy query parameters for features not supported in older OS when using older OS support query since the D3D12 older runtime will not recognize the new flags and structures
Also, minor ASSERTED
fix to make it build without the "variable is declared but not referenced" warning treated as error.