[PATCH 2/5] wined3d: Move box validation to wined3d_device_context_map().