xdiff: fix noisy sign warnings

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>