make-cffi-context, make-array-context moved from ring-buffer to cffi-helper for reusability