Regenerate gdk_methods.defs.

* gdk/src/gdk_methods.defs: Regenerate with gen_scripts/.
* gdk/src/window.hg: Add a conversion to fix the build, but see the
  TODO comment about the possible ABI break in GTK+.