I2C: add const to signature of master_write function Closes IDFGH-3324 See merge request espressif/esp-idf!9306