cgminer-monitor: fix the cgminer-monitor cannot restart cgminer when no dev detect