small refactor
Merge pull request #3494 from WalterBright/refactor-isNogc

small refactor
fix Issue 12630 - @nogc should recognize compile-time evaluation context