[SF#885]Fix crash in vfs-menu module with libmenu-cache 0.3.x.

The menu_cache_item_get_id() may return NULL so it is required
to use g_strcmp0() instead of strcmp().