usb: ehci-omap: add helpers for checking port mode