ssb: move ssb_commit_settings and export it