Fix https://github.com/fontforge/fontforge/issues/785
Merge pull request #787 from JoesCat/master

libspiro improvements to prevent crashes and segfaults