d3d: Fix variable assignment in d3d_set_shader
d3d: Remove the auto variable and replace it with it's concrete type
Merge pull request #938 from lioncash/var-assignment

d3d: Fix variable assignment in d3d_set_shader