libagl: Allow use of copybit to accelerate 2D rendering

added missing code to make this commit work