Issue #22090: Fix '%' formatting for infinities and NaNs.
Merge 3.4.
Introduce and check for MPD_VERSION_HEX for precise management of builds
with an external libmpdec.
Merge 3.4.