DESC
Add 'const' qualifiers to jwrite() and friends, to match real prototypes.
EDESC

write(), pwrite() and writev() have the buffer parameter as 'const'; but our
wrappers haven't.

This patch adds the 'const', not only in the function prototypes but also to
the buf member of the transaction structure.

Thanks to Pieter Grimmerink for pointing this out.

