wined3d: Fix the VBO check in device_stream_info_from_declaration().