Józef Kucia : wined3d: Fix sample_d for array textures.