dxva2: Add ifdefs around structs that might not be available