Fix array support for GCCXML and fix associated tests.