sam: fix off-by-one in buffer merge.
  exposed by UTFmax==4

R=rsc
http://codereview.appspot.com/165071
1 file changed