Added git_diff_delta_dup to git_diff_get_patch to fix a memory issue when accessing DiffList patches.