(x_set_foreground_color): Set frame's cursor_pixel.