Fix parsing of obsolete entries to recognize "#~|".

The code previously incorrectly expected "#~" to be followed by a space,
which broke with (among other things) previous-msgid entries.

Fixes #516.