Remove usage of dumpcate methods in ItemDiff.

This is needed by I0c130c000 in WikibaseDataModel, to 
avoid breakage.

Change-Id: I0539c43fe4e47fa7eecb3a86a80a6990dae42f27
Merge "Remove usage of dumpcate methods in ItemDiff."