fix Issue 13662: @safe pure nothrow @nogc findRoot

Reason: allows findRoot be used in `@safe @nogc nothrow` code.
I am actually not sure why compiler can't find matching overload here, looks unambiguous.