Fix the problem of default Run/Debug As for nSIM

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Fix the problem of Debug/Run as for OpenOCD

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>