misc/codex: Update to 0.171.0 and fix file descriptor leakage
While here, update notify crate to 9.0.0 (from 8.2.0) to prevent file
descriptor leakage.
Changelog: https://github.com/openai/codex/releases/tag/rust-v0.171.0
Reported by: @lin72h
Pull Request: https://github.com/freebsd/freebsd-ports/pull/676
Closes: https://github.com/freebsd/freebsd-ports/pull/676
Co-authored-by: Hiroki Tagato <tagattie@FreeBSD.org>