editor-workspace: remove unnecessary include

Once we are using g_path_get_dirname() instead of dirname() we can
remove the libgen.h include.