A Ruby FFI for common functions in libgphoto2