glib-2.0: mark PtrArray as deprecated in favor of GenericArray

GenericArray is much nicer, and if you really want to use pointers
(which you don't) you can always do GenericArray<void*>.
glib-2.0: change constructor for GenericArray with glib-2.0 >= 2.30

Fixes bug 732251.