applets/icontasklist: Hide context menu separator if not needed

If we have no DesktopAppInfo, we do not need to show the separator item
as we have nothing to separate *from* (i.e. pin/unpin)