Fix -Wstrict-overflow in domdec.c

d1 > d for all iterations except first one
so now we dont trigger warning

Change-Id: I581297bfafe4157659134aefc1df3c2c6a75e2fa
Signed-off-by: Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru>