glib: fix IntPtr.Zero being dereferenced in GLib.Value.ToBoxed()