Previous commit (536c9d916) OR-ed the dropped upper-word bits into
'mysql_thread___server_capabilities', which made them leak into
'(*myds)->myconn->options.server_capabilities' — a behaviour delta vs.
pre-8c6a6444d.
Revert that and reinstate the original pattern: a local
'extended_capabilities' whose only consumer is 'upper_word'. Seed it
with the hardcoded baseline (CLIENT_MULTI_*, CLIENT_PLUGIN_AUTH,
CLIENT_REMEMBER_OPTIONS) and fold in any other upper-word bits
currently set in 'server_capabilities' (CLIENT_DEPRECATE_EOF,
CLIENT_SESSION_TRACKING, CLIENT_ZSTD_COMPRESSION, ...) so the greeting
stays in sync with the per-session / per-toggle state — preserving
8c6a6444d's zstd advertisement while restoring the #4023 baseline.