Compatibility with GLib 2.36 - replace GIOSchedulerJob with GTask.

The GIOSchedulerJob is marked as deprecated in GLib 2.36 so it generates
warnings on file src/gtk/fm-path-entry.c. Conditionally replace it.
Clear possible memory leaks in src/gtk/fm-path-entry.c