Move types_deeply_equal from py-type.c to gdbtypes.c.