Fix an `#if` in System.Delegate.IsTransparentProxy () to use DISABLE_REMOTING.
Fix another cast warning in sgen-debug.c.