d3d11: Validate "ViewDimension" field in D3D11_SHADER_RESOURCE_VIEW_DESC.