[PATCH 1/4] d3d8: Clamp vertex buffer upload range to buffer size.