[Bug 15574] Recursion in XML deserialization: add array type to known_types?

One way to prevent https://bugzilla.xamarin.com/show_bug.cgi?id=15574 is to add the problematic array type to the `known_types` collection.

On the other hand, this might not be the intended use of `known_types`. In that case, perhaps a better fix would be to change the `foreach` loop to guard against recursion:

	if (t != type)
		RegisterTypeAsKnown (t);