fix Issue 13662: @safe pure nothrow @nogc findRoot

Reason: allows findRoot be used in `@safe @nogc nothrow` code.
Compatible for delegates only, but not for other callable entities (functions, structs, objects).