demmt: fix offsets for annotated buffers