d3d9: Update locked_rect only if wined3d_surface_map succeeds.