Fix mangling of __uuidof after two levels of template instantiation