Fix a bug with initializing offset positions in GraftWriter

GraftWriter did not track offset positions properly in the deduplication
dictionary, which resulted in subsequent executions corrupting the index
graft_point data and setting it all to 0s.