wined3d: Don't hardcode type sizes for shader constants.