fix Issue 13662: @safe pure nothrow @nogc findRoot

Reason: allows findRoot be used in `@safe @nogc nothrow` code.
What is the problem with  this one? Why it doesn't work anymore?