[dsp] Fix parse-tag-prefix for when near EOF.