Add support for new girffi API
The g_callable_info_prepare_closure() API is deprecated starting with gobject-introspection 1.72, to cope with an ABI change in libffi.
We can easily replace the deprecated API with new API if we're building against a newer version of gobject-introspection.