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

Bypass attribute check on direct invariant calls.