Code changes to reduce compiler warnings.
Fix SMBus_Open() device detection code.