Small changes and switch to latest librist commit
The main change is an update to use librist as of commit 823fee6aae55bda23f3379a2dc24c1cf40082896.
There are a few other tidyups, and one fix for the public API to ensure that callbacks passed from Rust code into the wrapper will be thread-safe in face of the callback actually being invoked by librist from a different thread.