@nogc for builtin functions

Needed for https://github.com/D-Programming-Language/dmd/pull/3490