glib-2.0: add accessor for GArray's data field

Fixes bug 651505