scanner: Honor nested types on array declarations as well

We have special code to look at (type GLib.List(utf8)), but (type
GLib.PtrArray(utf8)) didn't work.

This allows NetworkManager to annotate the ActiveConnections property.

https://bugzilla.gnome.org/show_bug.cgi?id=733879