lzb: writeRep supports now n extending over the top of the buffer
lzb: writeRep supports now n extending over the top of the buffer

This way we can use writeRep directly to implement LZ match operations.

uli-go/xz,uli-go/xz,pmezard/xz,pmezard/xz