src: adapt tools to use `ToolContext::nit_dir` instead of `NIT_DIR`