[config] Disbale getenv() and atexit() if HB_LEAN

Part of https://github.com/harfbuzz/harfbuzz/issues/1652
1 file changed