dwc_otg: Only enable the ID pin interrupt in OTG mode

In certain circumstances (timing plays a critical role) dwc_otg ID pin
interrupt storms have been observed on gfsc100 at boot time. The
condition eventually leads to a corruption of the system clock, which
was the main symptom. The ID pin is only used in OTG mode to determine
whether a host or a device is connected to the USB port. Disable the ID
pin interrupt in host and device only mode.

Change-Id: Ice32ebac006a535da9015aa7a3501d001c26b708
Google-Bug-Id: 21036485
diff --git a/drivers/usb/dwc_otg/dwc_otg_cil.c b/drivers/usb/dwc_otg/dwc_otg_cil.c
index 84f1179..b5de301 100644
--- a/drivers/usb/dwc_otg/dwc_otg_cil.c
+++ b/drivers/usb/dwc_otg/dwc_otg_cil.c
@@ -367,7 +367,9 @@
 		intr_mask.b.rxstsqlvl = 1;
 	}
 
+#if !defined(CONFIG_DWC_OTG_HOST_ONLY) && !defined(CONFIG_DWC_OTG_DEVICE_ONLY)
 	intr_mask.b.conidstschng = 1;
+#endif
 	intr_mask.b.wkupintr = 1;
 	intr_mask.b.disconnect = 0;
 	intr_mask.b.usbsuspend = 1;