wined3d: Explicitly pass register type and index to shader_is_scalar().