Replace deprecated function builder_opts()

The new option makes builder opts available as an assign (on conn.assigns) with the given key. Then you need to pull out that value for that key to pass to dispatch (as before). You can either do that by wrapping dispatch in a custom plug or given dispatch/2 is defoverridable you can implement a custom function for it, which delegates to the generated one using super.