dmatest: fix handling of an even number of xor_sources