This is a low-prio style cleanup for years, but:
- It is tedious and possibly distracting to do it manually when touching the line for other reasons.
- The topic recently came up again when discussing log injection (https://github.com/bitcoin/bitcoin/pull/35833#issuecomment-5113804332)
So I wonder if a simple scripted-diff can cover the bulk of the changes now, with hopefully little conflicts with reviewed pull requests.