Fix diffing for submitted Perforce changelists.

Somewhere in my diff refactoring, a couple crucial lines for diffing the files
for edited files in submitted changelists got deleted. Trivial fix.

Fixes bug 3335.