Reduce coupling between _tkagg and _backend_agg modules

This will make it easier to move to floating-point image buffers in the near future.
same point about agg24 here, too