gschem: Fix freeze when large number of rectangles are invalidated
gschem: Set clip for expose events
gschem: Refactor w_current->cr into a parameter
gschem: Use cairo to repaint background

Eliminates function calls that will be depricated in 2.22
gschem: Remove additional use of soon to be depricated API