diff: fix infinite loop with --color-moved --ignore-space-change