[gambit-list] Proper usage of ffi structs