avoid a division by zero which seems to only occur for op=prod and datatype=half, since the maximum exponent is small (15) and can exceed the number of ranks. [ROCm/rccl-tests commit: e9f5be184c]
e9f5be184c