fix Issue 13113 - cannot build druntime's gc.d with -debug=INVARIANT, bad @nogc inference?