fix Issue 13662: @safe pure nothrow @nogc findRoot

Reason: allows findRoot be used in `@safe @nogc nothrow` code.
I see, link to original question : https://github.com/D-Programming-Language/phobos/pull/2639#discussion_r19430827