libagl: Allow use of copybit to accelerate 2D rendering

This improves performance on devices that uses copybit.
Enable with TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true

Forward ported from Gingerbread

added changes needed in copybit.cpp