at25: make input buffers of at25_*write() const