doc: move grn_ctx_fin() document to Sphinx text from header file