Fixed return values and error handling in the TwoWire::endTransmission() API

Now follows Arduino implementation.
Did you look at what I2CWrite() can return for HRESULT values?  It is likely that there is only one error for which you want to return ADDR_NACK_RECV.  Other errors would probably want OTHER_ERROR...