slingshot: sync with upstream.

* slingshot: Pick up recent improvements, particularly fixed
compatibility with upcoming API backwards compatible lyaml 4
release.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>