dm: i2c: Move definitions to the top of the header file