Added I2C_MSG_WRITE definition

Hi, would you pls to review and merge it?

I2C_MSG_WRITE definition has been added to avoid hacks like:
msgs[0].flags = 0; // write

Thank you,
Signed-off-by: Dmitry Prokhorov <dipspb@gmail.com>