Fix memory leaks in cairoblend and cairoaffineblend.