callback: store a reference to the CIF struct on the ffi closure Buffer instance

To prevent the CIF Buffer instance from being garbage collected before
the closure Buffer does.

Fixes #125.