mraajs.i: add buffer checks to python write() typemaps in Spi & I2c