generic findRoot

Reason: allows findRoot be used in `@safe @nogc nothrow` code.
Why doesn't that work any longer?