dev-libs/folks: Backport patches fixing crash in 0.9.6

[Upstream bug](https://bugzilla.gnome.org/show_bug.cgi?id=720865)