Fix a canonifier script

A couple of tests would fail (due to a difference in the crash-diag output)
if gdb was not installed, so the diff-diag-output canonifier script has
been fixed to prevent this.