Fix crash with GLib < 2.28 in FmPath due to missing API g_sequence_lookup().