osd : SwitchMonitors :: check the val of SwitchMonitor(val)

 -1 < val < monitors_num is corrent
 else val = 0 (the default value)

Change-Id: Ib76115b7f6d58d7468a6639e899911de4c4dd351