Treat MPI_COMM_NULL like MPI_COMM_SELF in timing functions.