[Git][wine/wine][master] wined3d: Fix missing data/resource type bounds check.