Fix handling of obsolete messages in po2json task.