ND2: do not skip bytes at the end of text info blocks

Fixes #11873.