[PATCH 4/4] d3d9: Clamp index buffer upload range to buffer size.