fix wrong line numbers in GtSequenceBuffer errors

Closes #179 (as well as some other error line number issues).