Convert GET_{LEFT,RIGHT}_PIXBUF_OFFSET macro to function