misc/cgo/testcarchive: fix test to work for gccgo