Log a warning to debug log if unknown settings are encountered. This should probably only ever happen when the software is upgraded.
Something similar is already done for the command line and config file. See [[https://github.com/bitcoin/bitcoin/pull/16234 | core#16234]]
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/19624 | core#19624]]