WL#10924: Deprecate expire_logs_days

Affects: Server-8.0   —   Status: Complete

Executive Summary
-----------------
This worklog adds a deprecation warning when users try to set expire_logs_days
either alone or along with binlog_expire_logs_seconds.

Background
----------
expire_logs_days is the number of days for automatic binary log file removal.
The default is 30, which means that the binary logs files will be purged after
30 days, if no other value is specified. Possible purge happens at start up and
when binary log is flushed.

Rationale
---------
In 8.0 a new variable binlog_expire_log_seconds was introduced. This allowed
users to set expire time which need not be integral multiple of days. This is
the better way to set the expiration time and also more flexible, it will make
the system variable expire_logs_days unneeded, so that should be deprecated in
8.0 and may be removed in later version.