Fix how the write bufferlist has to be passed to op.write()

Fixes osd crash caused by previous commit