cairo: Minor cleanup by factoring out new function set_source_rgba().