Remove xr_draw_chart from cairo.h and make static