glib: add glib-defcallback macro to be able to work current unpatched CFFI