I get the following using mirt 1.26.3 on my R 3.4.3. The only thing that really changes is that seeds are slightly different across R versions.
> library(mirt)
> set.seed(1)
> a <- matrix(rlnorm(20))
> diffs <- t(apply(matrix(runif(20*4, .3, 1), 20), 1, cumsum))
> diffs <- -(diffs - rowMeans(diffs))
> d <- diffs + rnorm(20)
> dat <- simdata(a, d, N=1000, itemtype = 'graded')
> mod <- mirt(dat, 1)
Iteration: 42, Log-Lik: -23030.209, Max-Change: 0.00010
> M2(mod)
M2 df p RMSEA RMSEA_5 RMSEA_95 SRMSR TLI CFI
stats 113.5443 110 0.3892452 0.005679219 0 0.01731935 0.02078929 0.9991159 0.9992519
The RMSEA calculations are performed with the non-exported mirt:::rmsea() function, and as far as I can tell that gives the correct results too, even when passing the values from the CV post.