ruby: fix gccxml's opaque resolution when the declared opaque type is not present in the loaded files