remove const from void * in MPI_Allgather (openmpi does not have it either)