common: auto-create prompts-log-dir at argument parsing, so all tools using the flag benefit (#25322)