Added compatibility with Diff < 0.4 in Diff::unserialize

Change-Id: I7167d9fc666eb1f3ab7000effb61045f65c464eb