i2c-designware: Divide i2c_dw_xfer_msg into two functions