Using AreSame or AreNotSame with Interfaces doesn't work always

if you compare the same objects with the type "IInterface" and the type "IInterfaceList", AreSame throws an exception.

With this fix the comparison always uses the IInterface-Pointer of the objects.