[#7581] don't try to get commit sizes for log views of non-files

We don't show 'size' values for directory commit logs anyway, and svn
1.8 started returning -1 instead of 0 causing a test to fail.
2 files changed