Diagnose \r in depfiles, instead of silently doing something wrong.

Part of #752.