gi: clear newly allocated struct as 0

It fixes SEGV caused in gdk3-gi. Gdk::EventGrabBroken is a struct but
its content is initialized as random bytes.