Mmm1dgpu: move mpi.h dependencies out of .cu file

This way, it compiles even if nvcc does not know where to find mpi.h.